<html>
<head>
    <title>分页</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
	<body>  
	 
	    <table width="100%" border="1">
	        <tr>
	            <td width="50%">用户名称</td>
	            <td width="50%">用户年龄</td>
	        </tr>
	       <#list peopleList as people>
	        <tr>
	            <td width="50%">${people.name}</td>
	            <td width="50%">${people.age}</td>
	        </tr>
	        </#list>
	    </table>
	   
	<div  style="float: right;">
		<a >当前第 ${pageInfo.pageNum }页,总${pageInfo.pages }页,总 ${pageInfo.total } 条记录</a>
		<a  href="${xiangmuming}/ftlindex?pageNum=1&pageSize=${pageInfo.pageSize }">首页</a>
		
		<#if pageInfo.hasPreviousPage??>
			<a  href="${xiangmuming}/ftlindex?pageNum=${pageInfo.pageNum-1 }&pageSize=${pageInfo.pageSize }">&laquo;</a>
		</#if>
		
		<#list pageInfo.navigatepageNums as page_Num >
				<a  href="${xiangmuming}/ftlindex?pageNum=${page_Num}&pageSize=${pageInfo.pageSize }">${page_Num }</a>
		</#list>
		
		<#if pageInfo.hasNextPage>
			<a  href="${xiangmuming}/ftlindex?pageNum=${pageInfo.pageNum+1 }&pageSize=${pageInfo.pageSize }">&raquo;</a>
		</#if>
		<a  href="${xiangmuming}/ftlindex?pageNum=${pageInfo.pages}&pageSize=${pageInfo.pageSize }">末页</a>
	</div>
	</body>
</html>

